package com.yuanli.cosmeticmirror.base;

/**
 * Http请求接口地址类
 */
public class HttpApi {

    public static final int PAGE_SIZE = 20;

    private static String baseUrl = "http://user.dreamyin.cn:1011/";
    //    private static String baseUrl_2 = "https://testweb.utools.club/";//测试地址
    private static String baseUrl_2 = "http://master.dreamyin.cn/";//正式地址
    //    private static String baseUrl_2 = "http://192.168.10.164:8081/";//测试地址


    /**
     * 获取验证码
     */
    public static final String GET_CODE = baseUrl_2 + "MobileRing/MakeUpSendmsg";
    /**
     * 注册
     */
    public static final String REGISTER = "http://user.dreamyin.cn:1011/UserCreate/Create.aspx?APP_Name=化妆镜";
    /**
     * 登录
     */
    public static final String LOGIN = baseUrl + "UserLogin/rutrnUserInfo.aspx?APP_Name=化妆镜";
    /**
     * 退出登录
     */
    public static final String POST_LOGOUT = baseUrl + "LogOffUser/ExitLogin.aspx";
    /**
     * 注销账号
     */
    public static final String POST_LOGOFF = "http://api.dreamyin.cn:1011/LogOffUser/LogOff.aspx";

    /**
     * 找回密码 http://101.37.76.151:1011/UpdatePwd/EditPwd.aspx?APP_Name=化妆镜
     * <p>
     * {"User_Phone":"15874809108", "User_Pwd":"123456"}
     */
    public static final String POST_FIND_PWD = "http://101.37.76.151:1011/UpdatePwd/EditPwd.aspx?APP_Name=化妆镜";
    /**
     * 找回密码 短信验证(new)
     * http://api.dreamyin.cn:8045/MobileRing/AudioSendmsg
     *
     * @param sign
     */
    public static final String POST_FIND_PWD_SMG = "http://api.dreamyin.cn:8045/MobileRing/AudioSendmsg";
    /**
     * 教程
     */
    public static final String GET_TUTORIAL = baseUrl_2 + "MakeUp/GetMakeupCourse";
    /**
     * 教程TO_ID
     */
    public static final String GET_TUTORIAL_TO_ID = baseUrl_2 + "MakeUp/GetCourseByTypeid";
    /**
     * 教程类型
     */
    public static final String GET_TUTORIAL_TYPE = baseUrl_2 + "MakeUp/GetCourseType";
    /**
     * 教程详情
     */
    public static final String GET_TUTORIAL_DETAIL = baseUrl_2 + "MakeUp/GetCourseDetail";
    /**
     * 会员价格
     */
    public static final String GET_VIP_PRICE = baseUrl_2 + "WaterMark/GetVIPPrice";
    /**
     * 会员信息
     */
    public static final String GET_VIP_INFO = baseUrl_2 + "User/GetVIPInfo";
    /**
     * 添加教程浏览记录
     */
    public static final String POST_TUTORIAL_RECORD = baseUrl_2 + "MakeUp/AddCourceScan";
    /**
     * 相框类型
     */
    public static final String GET_FRAME_TYPE = baseUrl_2 + "MakeUp/GetTypeList";
    /**
     * 点赞
     */
    public static final String POST_LIKE = baseUrl_2 + "MakeUp/AddGoodRecord";
    /**
     * 取消点赞
     */
    public static final String POST_CANCEL_LIKE = baseUrl_2 + "MakeUp/CancelGood";
    /**
     * 收藏
     */
    public static final String POST_COLLECT = baseUrl_2 + "MakeUp/AddCollect";
    /**
     * 收藏列表
     */
    public static final String GET_COLLECT_LIST = baseUrl_2 + "MakeUp/GetCollectList";
    /**
     * 取消/删除收藏
     */
    public static final String POST_DELETE_COLLECT = baseUrl_2 + "MakeUp/DeleteCollect";
    /**
     * 微信支付
     */
    public static final String POST_WECHAT_PAY = baseUrl_2 + "payWeChet/VipPayCreateOrder";
    /**
     * 支付宝支付
     */
    public static final String POST_ALIPAY_PAY = baseUrl_2 + "payAliPay/VipCreateOrder";
    /**
     * 根据类型id获取相框
     */
    public static final String GET_FRAME_TYPE_FOR_ID = baseUrl_2 + "MakeUp/GetFrameByTypeid";
    /**
     * 意见反馈
     * {"userid":"15874809108", "describ":"反馈意见","imgUrl":"图片url"}
     */
    public static final String POST_FEEDBACK = baseUrl_2 + "MakeUp/AddFeedback";

    /**
     * 获得上传照片ToKen
     */
    public static final String GET_IMG_TOKEN = "https://dubbing.csweimei.cn/upload/Token";
    /**
     * 每个应用每天打开一次
     * APP激活量统计
     */
    public static final String GET_APP_ACTIVATIONAMOUNT = "http://api.dreamyin.cn:1013/API/Insert_Activation.aspx";

    /**
     * 应用在仅首次运行时进行调用
     */
    public static final String GET_FIRSTRUNAPPNEW = "http://admin.yuanlikj.cn/API/DownLoad_Open.aspx";
    /**
     * 每个应用每天打开一次
     * 统计日活
     */
    public static final String GET_STATISTICS_DAILY = "http://admin.yuanlikj.cn/API/GetAPPCount.aspx";

    /**
     * 每天每个用户首次打开调用
     */
    public static final String GET_FIRST_OPEN = "http://user.dreamyin.cn/UserLogin/lasttime.aspx";


}